require("../../../../@babel/runtime/helpers/Arrayincludes"), (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/vehicle-nav-denoise/index" ], {
    "1b85": function(e, t, i) {},
    3857: function(e, t, i) {
        var n = i("1b85");
        i.n(n).a;
    },
    6376: function(e, t, i) {
        (function(e) {
            var n = i("4ea4").default;
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var a = n(i("a34a")), l = n(i("ded3")), r = n(i("c973")), u = n(i("448a")), c = n(i("9523")), o = i("48b8"), d = i("2340"), v = i("8083"), s = n(i("2de2")), f = i("8f93"), m = i("5bfa"), h = i("68d3"), _ = i("fd0e"), g = i("665c"), p = n(i("0613")), S = i("05dc"), x = i("cee8"), b = i("aa79"), w = i("d19a"), C = i("7a9b"), y = {};
            y.props = {
                selectedIndex: {
                    type: Number,
                    default: 0
                }
            }, y.setup = function(t, i) {
                var n, y = {
                    0: "",
                    1: "carriage_length",
                    2: "carriage_width",
                    3: "carriage_height",
                    4: "carriage_weight",
                    5: "carriage_volume",
                    6: "carriage_full_height"
                }, I = 18, T = 24, R = 60, k = 24, V = 14, N = 8, E = 62, L = 16, M = (n = {}, (0, 
                c.default)(n, m.ServiceType.small, {}), (0, c.default)(n, m.ServiceType.cold, {}), 
                n), D = {}, O = t, F = i.emit;
                (0, _.onBeforeMount)(function() {
                    F("loaded", {
                        setDefaultStd: ut,
                        aggregationExpo: dt,
                        setExpoStatus: at
                    }), e.$on("vehicleDetailConfirm", function(e) {
                        var t = e.tags, i = e.name;
                        le.value.frontEndRefrigeratedName ? (We([ fe.value[0] ].concat((0, u.default)(t)).filter(Boolean), i), 
                        et(0, 1)) : (We(t, i), Xe());
                    });
                }), (0, _.onUnmounted)(function() {
                    e.$off("vehicleDetailConfirm");
                });
                var $ = 0, A = [], z = (0, _.ref)(0), j = !1, P = (0, _.ref)({}), B = (0, _.ref)(""), J = (0, 
                _.ref)({}), U = (0, g.useState)(), W = U.coupeConfig, G = U.userVariables, H = U.cityInfo, Y = U.homePageLoaded, q = U.selectedHomeRefrigeratedVehicle, K = U.serviceList, Q = U.selectedService, X = U.userClickTabType, Z = (0, 
                g.useGetters)(), ee = Z.isCanOrder, te = Z.selectedStd, ie = Z.isLogined, ne = Z.vehicleList, ae = Z.selectedCar, le = Z.selectedVehicle, re = Z.lhVehicleList, ue = Z.selectedVehicleCar, ce = Z.selectedVehicleStd, oe = Z.commonStatisticsState, de = Z.withoutCompleteOrderAndSmallCarCache, ve = Z.bigVehicleModule, se = Z.isRefrigeratedService, fe = Z.selectedVehicleStdRefrigeratedAll, me = Z.startAddress, he = Z.isTricycle, _e = Z.isSaloonCar, ge = (0, 
                _.computed)(function() {
                    return Y.value ? 300 : 0;
                }), pe = (0, _.computed)(function() {
                    return ve.value ? 0 : 300;
                }), Se = (0, _.computed)(function() {
                    var e = 0;
                    be.value ? (Oe.value.length > 0 && (e += R + T + k), Ve.value && (e += Math.ceil(Re.value.length / 4) * (E + L) + N + V)) : e = I;
                    return e;
                }), xe = (0, _.computed)(function() {
                    return function(e) {
                        var t, i = null === (t = ue.value[e]) || void 0 === t ? void 0 : t.name;
                        return !!i && ae.value.map(function(e) {
                            return null == e ? void 0 : e.name;
                        }).includes(i);
                    };
                }), be = (0, _.computed)(function() {
                    return Ve.value || Oe.value.length > 0;
                }), we = (0, _.computed)(function() {
                    return ne.value.length;
                }), Ce = (0, _.computed)(function() {
                    return function(e) {
                        var t;
                        return (null === (t = te.value) || void 0 === t ? void 0 : t.findIndex(function(t) {
                            return t.name === e;
                        })) >= 0;
                    };
                }), ye = (0, _.computed)(function() {
                    return function(e) {
                        var t = ce.value[e];
                        return t.price_value_fen ? "".concat((0, o.fenToYuan)(t.price_value_fen)) : "";
                    };
                }), Ie = (0, _.computed)(function() {
                    return {
                        selectedVehicle: le.value,
                        navWidthList: A
                    };
                }), Te = (0, _.computed)(function() {
                    return ce.value.findIndex(function(e) {
                        var t;
                        return e.name === (null === (t = te.value[te.value.length - 1]) || void 0 === t ? void 0 : t.name);
                    }) >= 3 && (it(), !0);
                }), Re = (0, _.computed)(function() {
                    var e;
                    return P.value[O.selectedIndex] ? ce.value : null === (e = ce.value) || void 0 === e ? void 0 : e.slice(0, 3);
                }), ke = (0, _.computed)(function() {
                    var e, t;
                    return (null === (e = p.default.state) || void 0 === e || null === (t = e.systemInfo) || void 0 === t ? void 0 : t.isIos) || !1;
                }), Ve = (0, _.computed)(function() {
                    return !b.isMiniMode.value && (de.value ? ce.value.length > 0 && (null === (e = G.value) || void 0 === e || null === (t = e.new_user_index_switch) || void 0 === t ? void 0 : t.std) : ce.value.length > 0);
                    var e, t;
                }), Ne = (0, _.computed)(function() {
                    return !0;
                }), Ee = (0, _.computed)(function() {
                    var e;
                    return 1 === (null === (e = H.value) || void 0 === e ? void 0 : e.show_vehicle_size_ab);
                }), Le = (0, _.computed)(function() {
                    var e, t, i, n, a = (null === (e = H.value) || void 0 === e ? void 0 : e.show_vehicle_size) || [];
                    Ee.value || (a = de.value ? [ 1, 4 ] : [ 1, 5, 4, 6, 2, 3 ]), null !== (t = le.value) && void 0 !== t && null !== (i = t.show_vehicle_size) && void 0 !== i && i.length && (a = null === (n = le.value) || void 0 === n ? void 0 : n.show_vehicle_size), 
                    se.value && (a = [ 1, 5, 4, 6, 2, 3 ]);
                    var l = [];
                    return a.forEach(function(e) {
                        e && l.push(y[e]);
                    }), b.isMiniMode.value ? l.slice(0, 3) : l;
                }), Me = (0, _.computed)(function() {
                    var e;
                    return null === (e = H.value) || void 0 === e ? void 0 : e.vehicle_guide_tip;
                }), De = (0, _.computed)(function() {
                    var e;
                    return null === (e = G.value) || void 0 === e ? void 0 : e.vehicle_guide_tip;
                }), Oe = (0, _.computed)(function() {
                    var e, t = (0, o.cloneDeep)(null === (e = le.value) || void 0 === e ? void 0 : e.vehicle_size) || [];
                    if (!t.length) return [];
                    var i = [];
                    return t.forEach(function(e) {
                        e.min = e.min ? e.min : 0, e.max = e.max ? e.max : 0, e.min = parseFloat(e.min), 
                        e.max = parseFloat(e.max);
                        var t = "";
                        e.min && e.max ? (e.min = e.min.toFixed(1), e.max = e.max.toFixed(1), t = "".concat(e.min, "~").concat(e.max)) : e.max ? (e.max = e.max.toFixed(1), 
                        t = "0~".concat(e.max)) : e.min && (e.min = e.min.toFixed(1), t = "".concat(e.min)), 
                        e.frontRange = t;
                    }), Le.value.forEach(function(e) {
                        var n = t.find(function(t) {
                            return t.field === e;
                        });
                        n && i.push(n);
                    }), i;
                }), Fe = (0, _.computed)(function() {
                    return p.default.getters.withoutCompleteOrderAndSmallCarCache ? "新客" : "老客";
                }), $e = ((0, _.computed)(function() {
                    return function(e) {
                        var t, i = (null === (t = ne.value[e].vehicle_std_item) || void 0 === t ? void 0 : t.filter(function(e) {
                            return !!e.is_checked;
                        })) || [];
                        return i.every(function(e) {
                            return !!e.img;
                        }) ? i : [];
                    };
                }), (0, _.computed)(function() {
                    return ce.value.length > 3 && Re.value.length <= 3 && !Te.value;
                })), Ae = (0, _.computed)(function() {
                    var e, t;
                    return {
                        icon: null === (e = H.value) || void 0 === e ? void 0 : e.refrigerated_label_url,
                        name: null === (t = H.value) || void 0 === t ? void 0 : t.refrigerated_tab_name
                    };
                }), ze = (0, _.computed)(function() {
                    return Ae.value.name && !se.value && je.value;
                }), je = (0, _.computed)(function() {
                    return K.value.findIndex(function(e) {
                        return 21 === Number(e.service_type);
                    }) > 0;
                }), Pe = null;
                function Be(e) {
                    var t = H.value.vehicle_tips_images, i = void 0 === t ? {} : t;
                    return null == i ? void 0 : i[e];
                }
                (0, _.onMounted)((0, r.default)(a.default.mark(function e() {
                    var t, i;
                    return a.default.wrap(function(e) {
                        for (;;) switch (e.prev = e.next) {
                          case 0:
                            return Pe = null === (t = (0, _.getCurrentInstance)()) || void 0 === t ? void 0 : t.proxy, 
                            e.next = 3, (0, d.getRect)("#headerNav", !1, Pe);

                          case 3:
                            i = e.sent, $ = i.width, O.selectedIndex;

                          case 6:
                          case "end":
                            return e.stop();
                        }
                    }, e);
                }))), (0, _.watch)(function() {
                    return Ie.value;
                }, function(e, t) {
                    if (0 !== e.navWidthList.length) {
                        var i = null == e ? void 0 : e.selectedVehicle, n = null == t ? void 0 : t.selectedVehicle;
                        console.info("首页监听车型变化：", null == n ? void 0 : n.order_vehicle_id, "->", null == i ? void 0 : i.order_vehicle_id), 
                        ut(), setTimeout(function() {
                            He.value = 1 === He.value ? 0 : 1;
                            var e = A[O.selectedIndex] || 0;
                            i && 1 === Number(i.is_big_vehicle) ? z.value = j ? Math.max(0, e - $ / 2) : Math.max(0, e) : i && 2 === Number(i.is_big_vehicle) && (z.value = Math.max(0, e - $ / 2), 
                            z.value), j = !1, Be(i.standard_order_vehicle_id) && vt("homepage_vehicle_value_expo");
                        }, 300);
                    }
                }, {
                    deep: !0,
                    immediate: !0
                }), (0, _.watch)(function() {
                    return ne.value;
                }, function(e, t) {
                    console.info("车型数组变化old->new", null == t ? void 0 : t.length, "->", e.length), (0, 
                    _.nextTick)(function() {
                        e.length > 0 && (0, d.getRect)(".header-nav-box", !0, Pe).then(function(e) {
                            var t = 0, i = [];
                            e.map(function(e) {
                                t += e.width, i.push(t);
                            }), i.unshift(0), A = i;
                        });
                    });
                }, {
                    immediate: !0
                }), (0, _.watch)(function() {
                    return Oe.value;
                }, function(e, t) {
                    console.info("尺寸变化", t, e), setTimeout(function() {
                        (0, d.getRect)(".vehicle-footer__item", !0, Pe).then(function(t) {
                            var i = 0;
                            t.map(function(e, t) {
                                t < 4 && (i += e.width);
                            }), i = (0, v.px2rpx)(i), e.length > 4 && (i -= 8), B.value = "width:".concat(i, "rpx"), 
                            console.info("尺寸前4的宽度", B.value);
                        });
                    }, 400);
                }, {
                    immediate: !0
                }), (0, _.watch)([ _e, he ], function(e, t) {
                    (e.some(function(e) {
                        return e;
                    }) || t.some(function(e) {
                        return e;
                    })) && b.isMiniMode && h.protocolRef.value && h.protocolRef.value.init();
                }, {
                    immediate: !0
                }), (0, _.watch)(function() {
                    return Q.value;
                }, function(e) {
                    [ m.ServiceType.small, m.ServiceType.cold ].includes(e) && (Xe(), Ze(O.selectedIndex));
                }), (0, _.watch)(function() {
                    return me.value.city_id;
                }, function(e, t) {
                    if (e !== t) {
                        var i = Ue(O.selectedIndex);
                        M[m.ServiceType.small] = {}, M[m.ServiceType.cold] = {}, We(i), Xe();
                        var n = ne.value[O.selectedIndex];
                        if (!n) return [];
                        var a = D[n.name];
                        D = (0, c.default)({}, n.name, a), Ze(O.selectedIndex);
                    }
                }), (0, _.watch)(function() {
                    return O.selectedIndex;
                }, function(e, t) {
                    e !== t && Xe();
                });
                var Je = (0, o.throttle)(function(e) {
                    var t, i, n = null == e || null === (t = e.currentTarget) || void 0 === t || null === (i = t.dataset) || void 0 === i ? void 0 : i.type;
                    "next" === n && O.selectedIndex >= we.value - 1 || "pre" === n && O.selectedIndex <= 0 || Ge("next" === n ? O.selectedIndex + 1 : O.selectedIndex - 1, "homepage_arrow_vehicle", "next" === n ? "车型右滑箭头" : "车型左滑箭头", 2);
                }, 400);
                function Ue(e) {
                    var t, i = ne.value[e];
                    return i && (null === (t = M[Q.value]) || void 0 === t ? void 0 : t[i.name]) || [];
                }
                function We(e, t) {
                    Q.value && le.value && (M[Q.value] || (M[Q.value] = {}), M[Q.value][t || le.value.name] = e);
                }
                function Ge(e, t) {
                    var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "", n = arguments.length > 3 ? arguments[3] : void 0;
                    j = !0, F("change", {
                        index: e
                    });
                    var a = Ue(e);
                    null != a && a.length ? p.default.commit("setState", {
                        selectedStd: a
                    }) : ut(), Ze(e);
                    var r = ne.value[e];
                    if (J.value = r, Ye(r, n), console.info("debug再来一单：触发设置车型了:", e, t, i, n), C.ConfirmOrderCommit.resetOpenType(), 
                    t) {
                        var u = (0, l.default)((0, l.default)({}, oe.value), {}, {
                            vehicle_select_name: r.name,
                            vehicle_select_id: r.order_vehicle_id,
                            business_abtest: "业务栏_实验组",
                            is_denoise: 2
                        });
                        i && (u.module_name = i), (0, S.statistics)(t, u);
                    }
                }
                var He = (0, _.ref)(0);
                function Ye(e, t) {
                    return qe.apply(this, arguments);
                }
                function qe() {
                    return (qe = (0, r.default)(a.default.mark(function e(t, i) {
                        var n;
                        return a.default.wrap(function(e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                1 === t.is_big_vehicle && 1 === t.vehicle_attr && (n = 5, F("selectBigCar", {
                                    bigCar: t,
                                    bigCarFrom: "userTab"
                                }), lt(i)), 2 !== t.is_big_vehicle && 0 !== t.vehicle_attr || (n = 1), t.frontEndRefrigeratedName && (n = 21), 
                                p.default.commit("setState", {
                                    selectedService: n,
                                    userClickTabType: {
                                        serviceType: n
                                    }
                                }), X.value.serviceType && p.default.commit("setState", {
                                    userClickTabType: {
                                        serviceType: n
                                    }
                                });

                              case 6:
                              case "end":
                                return e.stop();
                            }
                        }, e);
                    }))).apply(this, arguments);
                }
                var Ke = (0, o.throttle)(function(e) {
                    var t, i, n = Number(null == e || null === (t = e.currentTarget) || void 0 === t || null === (i = t.dataset) || void 0 === i ? void 0 : i.index), a = ne.value[n];
                    (0, S.statistics)("homepage_vehicle_picture", (0, l.default)((0, l.default)({}, oe.value), {}, {
                        vehicle_select_name: a.name,
                        vehicle_select_id: a.order_vehicle_id,
                        is_denoise: 2,
                        user_type: Fe.value
                    })), nt();
                }, 1e3);
                function Qe(e) {
                    D[le.value.name] = e;
                }
                function Xe() {
                    var e = Ue(O.selectedIndex);
                    null != e && e.length && p.default.commit("setState", {
                        selectedStd: e
                    });
                }
                function Ze(e) {
                    var t = ne.value[e];
                    if (t) {
                        var i = D[t.name] || [];
                        p.default.commit("setState", {
                            selectedCar: i
                        });
                    }
                }
                function et(e, t) {
                    var i, n, a, r = "number" == typeof e ? e : Number(null == e || null === (i = e.currentTarget) || void 0 === i || null === (n = i.dataset) || void 0 === n ? void 0 : n.index), u = 1 === t, c = u ? fe.value[r] : ce.value[r], d = te.value.findIndex(function(e) {
                        return (null == e ? void 0 : e.name) === (null == c ? void 0 : c.name);
                    });
                    C.ConfirmOrderCommit.resetOpenType();
                    var v = (0, o.cloneDeep)(te.value);
                    if ((0, S.statistics)("homepage_vehicle_models", (0, l.default)((0, l.default)({}, oe.value), {}, {
                        module_name: null == c ? void 0 : c.name,
                        vehicle_special_select: null == c ? void 0 : c.name,
                        click_type: d >= 0 ? "取消勾选" : "勾选",
                        is_denoise: 2
                    })), d < 0 && "冷藏车" === c.name && null !== (a = J.value) && void 0 !== a && a.jump_refrigerated_vehicle && je) {
                        var s, m = (0, f.findVehicleIndexByStandardId)(null === (s = J.value) || void 0 === s ? void 0 : s.jump_refrigerated_vehicle);
                        return p.default.commit("setState", {
                            selectedService: 21,
                            userClickTabType: {
                                serviceType: 21
                            }
                        }), void (0, w.setSelectedIndex)(m);
                    }
                    if (d >= 0) {
                        if (u) return;
                        v.splice(d, 1), p.default.commit("setState", {
                            selectedStd: v
                        }), We(v);
                    } else {
                        if (u && te.value.length > 0) {
                            var h = [];
                            v.forEach(function(e) {
                                null != e && e.refrigerated_img && e.refrigerated_img.length > 0 || h.push(e);
                            }), v = h;
                        }
                        d < 0 && (c && v.push(c), v.forEach(function(e, t) {
                            null != e && e.refrigerated_img && e.refrigerated_img.length > 0 && (v.splice(t, 1), 
                            v.unshift(e));
                        }), p.default.commit("setState", {
                            selectedStd: v
                        }), We(v));
                    }
                    ee.value && F("stdChange");
                }
                var tt = (0, o.throttle)(function() {
                    (0, S.statistics)("homepage_vehicle_models_choose", {
                        event_type: "滑动规格参数",
                        vehicle_select_id: oe.value.vehicle_select_id,
                        vehicle_select_name: oe.value.vehicle_select_name,
                        frame_city: oe.value.frame_city
                    });
                }, 1e3);
                function it() {
                    P.value = (0, l.default)((0, l.default)({}, P.value), {}, (0, c.default)({}, O.selectedIndex, !0)), 
                    (0, S.statistics)("homepage_vehicle_models", (0, l.default)((0, l.default)({}, p.default.getters.commonStatisticsState), {}, {
                        click_type: "更多",
                        is_denoise: 2
                    }));
                }
                var nt = (0, o.throttle)(function(t) {
                    1 !== t && 2 !== t || (0, S.statistics)("homepage_vehicle_info_click", (0, l.default)((0, 
                    l.default)({}, p.default.getters.commonStatisticsState), {}, {
                        is_denoise: 2,
                        user_type: Fe.value,
                        module_name: 1 === t ? "车型尺寸" : "箭头"
                    })), e.navigateTo({
                        url: "/pages/vehicle-detail/index?selectedIndex=".concat(O.selectedIndex)
                    });
                }, 1e3);
                function at() {}
                function lt(e) {
                    (0, S.statistics)("homepage_largetrucks_expo", (0, l.default)((0, l.default)({}, p.default.getters.commonStatisticsState), {}, {
                        page_from: {
                            1: "滑动拉货车型图片",
                            2: "点击车型箭头",
                            3: "点击拉货tab大车车型"
                        }[e]
                    }));
                }
                function rt() {
                    var e, t = getCurrentPages();
                    return (null == t || null === (e = t[t.length - 1]) || void 0 === e ? void 0 : e.route) === (null === s.default || void 0 === s.default ? void 0 : s.default.homeUrl);
                }
                function ut(e) {
                    return ct.apply(this, arguments);
                }
                function ct() {
                    return (ct = (0, r.default)(a.default.mark(function e(t) {
                        var i;
                        return a.default.wrap(function(e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                if (1 !== t) {
                                    e.next = 5;
                                    break;
                                }
                                return e.next = 3, (0, o.delay)(.02);

                              case 3:
                                if (!te.value.length) {
                                    e.next = 5;
                                    break;
                                }
                                return e.abrupt("return");

                              case 5:
                                se.value && rt() && 0 === te.value.length && (i = [], fe.value.forEach(function(e) {
                                    e.is_checked && (i[0] = e);
                                }), p.default.commit("setState", {
                                    selectedStd: i
                                }));

                              case 6:
                              case "end":
                                return e.stop();
                            }
                        }, e);
                    }))).apply(this, arguments);
                }
                var ot = "";
                function dt(e) {
                    var t = 1 === e, i = ot !== H.value.name;
                    ot = H.value.name, (i || t) && (ne.value.forEach(function(e) {
                        if (e.vehicle_label_url) {
                            var t = {
                                mark_position: "车型",
                                vehicle_select_name: e.name,
                                vehicle_select_id: e.order_vehicle_id,
                                frame_city: oe.value.frame_city,
                                business_type: oe.value.business_type
                            };
                            (0, S.statistics)("homepage_vehicle_mark_expo", t);
                        }
                    }), !t && ze.value && (Ae.value.icon && vt("homepage_vehicle_mark_expo", {
                        mark_position: "冷运车聚合入口"
                    }), Ae.value.name && vt("homepage_vehicle_agg_expo", {
                        agg_name: "冷运车"
                    })));
                }
                function vt(e, t) {
                    var i = (0, l.default)((0, l.default)({}, p.default.getters.commonStatisticsState), t);
                    (0, S.statistics)(e, i);
                }
                return Object.assign({
                    pageRotate: b.pageRotate,
                    activeSrc: "https://appuser-static.huolala.cn/imgs/2023/16832690771310889802269.png",
                    resetNavScrollLeft: z,
                    sizeWidthStyle: B,
                    coupeConfig: W,
                    vehicleList: ne,
                    lhVehicleList: re,
                    selectedVehicleCar: ue,
                    isRefrigeratedService: se,
                    selectedVehicleStdRefrigeratedAll: fe,
                    footerTransitionDuration: ge,
                    duration: pe,
                    footerHeight: Se,
                    computedSelectedCar: xe,
                    showFooter: be,
                    listLength: we,
                    activeStd: Ce,
                    getStdPrice: ye,
                    selectedVehicleStdComputed: Re,
                    isIos: ke,
                    showStds: Ve,
                    isVehicleRow: Ne,
                    vehicleSizeAB: Ee,
                    vehicleGuideTip: Me,
                    vehicleDetailTip: De,
                    configVehicleInfoList: Oe,
                    showMoreModule: $e,
                    refrigeratedTabData: Ae,
                    isShowRefrigerate: ze,
                    getCarTipsImg: Be,
                    vehicleNavTap: function(e) {
                        var t, i, n = Number(null == e || null === (t = e.currentTarget) || void 0 === t || null === (i = t.dataset) || void 0 === i ? void 0 : i.index);
                        Ge(n, "homepage_tab_vehicle", null, 3), function(e) {
                            var t = ne.value[e];
                            if (t.vehicle_label_url) {
                                var i = {
                                    mark_position: "车型",
                                    vehicle_select_name: t.name,
                                    vehicle_select_id: t.order_vehicle_id,
                                    frame_city: oe.value.frame_city,
                                    business_type: oe.value.business_type
                                };
                                (0, S.statistics)("homepage_vehicle_mark_click", i);
                            }
                        }(n);
                    },
                    vehicleSwiperChange: function(e) {
                        if ("touch" === e.detail.source) {
                            if (ve.value) return;
                            "swiper change：".concat(e.detail.current), Ge(Number(e.detail.current), "homepage_slide_vehicle", null, 1);
                        }
                    },
                    vehicleSwiperCtrl: Je,
                    resetStdScrollLeft: He,
                    vehicleSwiperTap: Ke,
                    chooseCar: function(e) {
                        var t = ue.value[e], i = ae.value.findIndex(function(e) {
                            return e.name === t.name;
                        }), n = (0, o.cloneDeep)(ae.value);
                        if ((0, S.statistics)("homepage_vehicle_models", (0, l.default)((0, l.default)({}, oe.value), {}, {
                            vehicle_special_select: null == t ? void 0 : t.short_name,
                            click_type: i >= 0 ? "取消勾选" : "勾选",
                            is_denoise: 2
                        })), i >= 0 && ae.value.length >= 2) n.splice(i, 1), p.default.commit("setState", {
                            selectedCar: n
                        }), Qe(n); else if (i >= 0 && ae.value.length <= 1) return (0, x.$toast)({
                            title: "至少要选中一个车厢类型"
                        });
                        i < 0 && (n.push(t), p.default.commit("setState", {
                            selectedCar: n
                        }), Qe(n)), ee.value && F("selectedCarChange");
                    },
                    chooseStd: et,
                    tagScroll: function() {
                        tt();
                    },
                    getCarName: function(e) {
                        return (e.short_name || e.name) + (e.price_value_fen ? "+".concat((0, o.fenToYuan)(e.price_value_fen), "元") : "");
                    },
                    navToUserDemand: function() {
                        var t = "/pages/webview/index?target=userDemand&page_from=0";
                        ie.value ? e.navigateTo({
                            url: t
                        }) : e.navigateTo({
                            url: "/pages/login/index?redirect=".concat(encodeURIComponent(t))
                        });
                    },
                    moreStd: it,
                    goVehicleDetail: nt,
                    isCenter: function() {
                        return !$e.value && Re.value.length < 4;
                    },
                    showIcon: function(e, t) {
                        var i, n;
                        return 1 === t ? !Ce.value(e.name) && (null == e || null === (i = e.refrigerated_img) || void 0 === i ? void 0 : i[0]) : Ce.value(e.name) && (null == e || null === (n = e.refrigerated_img) || void 0 === n ? void 0 : n[1]);
                    },
                    goColdTransport: function(e) {
                        var t;
                        1 === e ? vt("homepage_vehicle_mark_click", {
                            mark_position: "冷运车聚合入口"
                        }) : (vt("homepage_vehicle_agg_click", {
                            agg_name: "冷运车"
                        }), Ae.value.icon && vt("homepage_vehicle_mark_click", {
                            mark_position: "冷运车聚合入口"
                        })), p.default.commit("setState", {
                            selectedService: 21
                        });
                        var i = 0, n = null === (t = q.value) || void 0 === t ? void 0 : t.name;
                        if (n) {
                            var a = (0, f.findSelectedVehicleListIndex)(n);
                            a.index > -1 && (i = a.index);
                        }
                        F("change", {
                            index: i
                        });
                    }
                }, {
                    setDefaultStd: ut,
                    aggregationExpo: dt,
                    setExpoStatus: at
                });
            };
            var I = y;
            t.default = I;
        }).call(this, i("543d").default);
    },
    ac6f: function(e, t, i) {
        i.d(t, "b", function() {
            return n;
        }), i.d(t, "c", function() {
            return a;
        }), i.d(t, "a", function() {});
        var n = function() {
            var e = this, t = (e.$createElement, e._self._c, e.__map(e.vehicleList, function(t, i) {
                var n = e.__get_orig(t), a = e.isRefrigeratedService && t.frontEndRefrigeratedName || !e.isRefrigeratedService && !t.frontEndRefrigeratedName ? e.selectedVehicleCar.length > 0 && e.selectedIndex === i : null;
                return {
                    $orig: n,
                    g0: a,
                    l0: (e.isRefrigeratedService && t.frontEndRefrigeratedName || !e.isRefrigeratedService && !t.frontEndRefrigeratedName) && a ? e.__map(e.selectedVehicleCar, function(t, i) {
                        return {
                            $orig: e.__get_orig(t),
                            m0: e.computedSelectedCar(i),
                            m1: e.getCarName(t)
                        };
                    }) : null,
                    m2: (e.isRefrigeratedService && t.frontEndRefrigeratedName || !e.isRefrigeratedService && !t.frontEndRefrigeratedName) && !a ? e.getCarTipsImg(t.standard_order_vehicle_id) || t.image_url_high_light : null
                };
            })), i = !e.isRefrigeratedService && e.selectedIndex > 0 || e.isRefrigeratedService && e.selectedIndex > e.lhVehicleList.length, n = e.isRefrigeratedService && e.selectedIndex < e.listLength - 1 || !e.isRefrigeratedService && e.selectedIndex < e.lhVehicleList.length - 1, a = e.showFooter ? e.configVehicleInfoList.length : null, l = e.showFooter && e.showStds ? e.isCenter() : null, r = e.showFooter && e.showStds ? e.__map(e.selectedVehicleStdComputed, function(t, i) {
                var n = e.__get_orig(t), a = e.activeStd(t.name), l = e.activeStd(t.name), r = e.getStdPrice(i);
                return {
                    $orig: n,
                    m4: a,
                    m5: l,
                    m6: r,
                    m7: r ? e.getStdPrice(i) : null
                };
            }) : null, u = e.isRefrigeratedService && e.selectedVehicleStdRefrigeratedAll.length > 0, c = u ? e.__map(e.selectedVehicleStdRefrigeratedAll, function(t, i) {
                return {
                    $orig: e.__get_orig(t),
                    m8: e.activeStd(t.name),
                    m9: e.showIcon(t, 1),
                    m10: e.showIcon(t, 2)
                };
            }) : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    l1: t,
                    g1: i,
                    g2: n,
                    g3: a,
                    m3: l,
                    l2: r,
                    g4: u,
                    l3: c
                }
            });
        }, a = [];
    },
    b26e: function(e, t, i) {
        i.r(t);
        var n = i("ac6f"), a = i("dc34");
        for (var l in a) [ "default" ].indexOf(l) < 0 && function(e) {
            i.d(t, e, function() {
                return a[e];
            });
        }(l);
        i("3857");
        var r = i("f0c5"), u = Object(r.a)(a.default, n.b, n.c, !1, null, "1e98f1bf", null, !1, n.a, void 0);
        t.default = u.exports;
    },
    dc34: function(e, t, i) {
        i.r(t);
        var n = i("6376"), a = i.n(n);
        for (var l in n) [ "default" ].indexOf(l) < 0 && function(e) {
            i.d(t, e, function() {
                return n[e];
            });
        }(l);
        t.default = a.a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/vehicle-nav-denoise/index-create-component", {
    "pages/home/components/vehicle-nav-denoise/index-create-component": function(e, t, i) {
        i("543d").createComponent(i("b26e"));
    }
}, [ [ "pages/home/components/vehicle-nav-denoise/index-create-component" ] ] ]);